import request from '@/utils/request'
export default {
    // 查询所有用户
    fourQueryAll(data){
        return request({
            url:'/before/bgs/before-user/user/fourQueryAll',
            method:'post',
            data
        })
    },
    //修改用户信息
    fourEditClick(data){
        return request({
            url:'/before/bgs/before-user/user/fourEditUser',
            method:'post',
            data
        }) 
    },
    //查询后台人员信息
    fourQueryAdmin(){
        return request({
            url:'/acl/bgs/user/fourFindUsers',
            method:'get',
        }) 
    },
    //查询权限
    fourQueryMenu(){
        return request({
            url:'/acl//bgs/menus/fourQueryMenu',
            method:'get',
        }) 
    },
    //修改权限
    fourEditMenu(data){
        return request({
            url:'/acl/bgs/menus/fourEditMenu',
            method:'post',
            data
        }) 
    },
    // 查询全部品类
    fourKindList(){
        return request({
            url:'/before//bgs/products/fourKindList',
            method:'get',
        }) 
    },
    // 添加种类
    fourAddKind(data){
        return request({
            url:'/before//bgs/products/fourAddKind',
            method:'post',
            data
        })  
    },
    // 删除某个品类
    fourdelKind(data){
        return request({
            url:'/before/bgs/products/fourdelKind',
            method:'post',
            data
        })
    }
}
